﻿using System;
using System.Runtime.CompilerServices;

namespace Quicklight.Mobile.Cordova.File {

   [IgnoreNamespace]
   public class FileError {
      [ScriptName("NOT_FOUND_ERR")]
      public const double NOT_FOUND_ERR = 0;
      [ScriptName("SECURITY_ERR")]
      public const double SECURITY_ERR = 1;
      [ScriptName("ABORT_ERR")]
      public const double ABORT_ERR = 2;
      [ScriptName("NOT_READABLE_ERR")]
      public const double NOT_READABLE_ERR = 3;
      [ScriptName("ENCODING_ERR")]
      public const double ENCODING_ERR = 4;
      [ScriptName("NO_MODIFICATION_ALLOWED_ERR")]
      public const double NO_MODIFICATION_ALLOWED_ERR = 5;
      [ScriptName("INVALID_STATE_ERR")]
      public const double INVALID_STATE_ERR = 6;
      [ScriptName("SYNTAX_ERR")]
      public const double SYNTAX_ERR = 7;
      [ScriptName("INVALID_MODIFICATION_ERR")]
      public const double INVALID_MODIFICATION_ERR = 8;
      [ScriptName("QUOTA_EXCEEDED_ERR")]
      public const double QUOTA_EXCEEDED_ERR = 9;
      [ScriptName("TYPE_MISMATCH_ERR")]
      public const double TYPE_MISMATCH_ERR = 10;
      [ScriptName("PATH_EXISTS_ERR")]
      public const double PATH_EXISTS_ERR = 11;
      [ScriptName("code")]
      public double Code;
   }

}
